package controller

import "tiktok2023/model"

type VedioTemp struct {
	Id            int64      `json:"id,omitempty"`
	Author        model.User `json:"author"`
	PlayUrl       string     `json:"play_url,omitempty"`
	CoverUrl      string     `json:"cover_url,omitempty"`
	FavoriteCount int64      `json:"favorite_count,omitempty"`
	CommentCount  int64      `json:"comment_count,omitempty"`
	IsFavorite    bool       `json:"is_favorite,omitempty"`
	Title         string     `json:"title,omitempty"`
}

var DemoVideos = []VedioTemp{
	{
		Id:            1,
		Author:        DemoUser,
		PlayUrl:       "https://www.w3schools.com/html/movie.mp4",
		CoverUrl:      "https://cdn.pixabay.com/photo/2016/03/27/18/10/bear-1283347_1280.jpg",
		FavoriteCount: 12,
		CommentCount:  25,
		IsFavorite:    false,
		Title:         "title",
	},
}

// var DemoComments = []model.Comment{
// 	{
// 		Id:         1,
// 		User:       DemoUser,
// 		Content:    "Test Comment",
// 		CreateDate: "05-01",
// 	},
// }

var DemoTableUser = model.TableUser{
	Id:              1,
	Name:            "TestUser",
	FollowCount:     0,
	FollowerCount:   0,
	IsFollow:        false,
	Avatar:          "https://s1-imfile.feishucdn.com/static-resource/v1/v2_df67cc9c-9b46-41e4-a106-b12580ebd7ag~?image_size=noop&cut_type=&quality=&format=image&sticker_format=.webp",
	Signature:       "",
	BackgroundImage: "https://i0.hdslb.com/bfs/banner/5f50972b55550b00c95c750319df81d8cae45b12.jpg@976w_550h_1c_!web-home-carousel-cover.avif",
	TotalFavorited:  "",
	WorkCount:       153,
	FavoriteCount:   567,
}

var DemoUser = model.User{
	Id:              1,
	Name:            "TestUser",
	FollowCount:     10,
	FollowerCount:   10,
	IsFollow:        false,
	Avatar:          "https://s1-imfile.feishucdn.com/static-resource/v1/v2_df67cc9c-9b46-41e4-a106-b12580ebd7ag~?image_size=noop&cut_type=&quality=&format=image&sticker_format=.webp",
	Signature:       "",
	BackgroundImage: "https://i0.hdslb.com/bfs/banner/5f50972b55550b00c95c750319df81d8cae45b12.jpg@976w_550h_1c_!web-home-carousel-cover.avif",
	TotalFavorited:  "",
	WorkCount:       153,
	FavoriteCount:   567,
}
